#!/usr/bin/env bash

if [ -z "$CIRCLE_PULL_REQUEST" ] && [ "$CIRCLE_BRANCH" = "master" ]
then
    lein with-profiles +compile-java do clean, deploy clojars
fi

exit 0;
